﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ModuleArticle.ascx.cs"
	Inherits="Hxsoft.AppV1.Admin.ArticleManage.Controls.ModuleArticle" %>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="FormTable">
	<tr>
		<td class="FieldBox">
			排序设置
		</td>
		<td class="ValueBox">
			<asp:TextBox ID="CtrlArticleOrder" runat="server"></asp:TextBox>
			<span class="FieldExplain">[数字格式]</span> <span class="FieldExplain">[数目越大越排前面]</span>
			<asp:RegularExpressionValidator ID="REVCtrlArticleOrder" runat="server" ControlToValidate="CtrlArticleOrder"
				ValidationExpression="<%# Hxsoft.RegexExtensions.Pattern_Numerical %>" Display="None"
				ErrorMessage="输入字段 [ArticleOrder] 的数据格式不符。">输入字段 [ArticleOrder] 的数据格式不符。</asp:RegularExpressionValidator>
			<asp:RequiredFieldValidator ID="RFVCtrlArticleOrder" runat="server" ControlToValidate="CtrlArticleOrder"
				ErrorMessage="字段 [ArticleOrder] 不允许为空。">*</asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr>
		<td class="FieldBox">
			发布时间
		</td>
		<td class="ValueBox">
			<Hxctr:JSCalendarTextBox ID="CtrlReleaseDate" runat="server"></Hxctr:JSCalendarTextBox>
			<span class="FieldExplain">[日期格式]</span>
			<Hxctr:DateTimeValidator ID="DTVCtrlReleaseDate" runat="server" ControlToValidate="CtrlReleaseDate"
				Display="none" ErrorMessage="输入字段 [ReleaseDate] 的数据格式不符。">输入字段 [ReleaseDate] 的数据格式不符。</Hxctr:DateTimeValidator>
			<asp:RequiredFieldValidator ID="RFVCtrlReleaseDate" runat="server" ControlToValidate="CtrlReleaseDate"
				ErrorMessage="字段 [ReleaseDate] 不允许为空。">*</asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr>
		<td class="FieldBox">
			发布状态
		</td>
		<td class="ValueBox">
			<asp:RadioButtonList ID="CtrlIsEffective" runat="server" RepeatDirection="Horizontal">
				<asp:ListItem Value="False">屏蔽</asp:ListItem>
				<asp:ListItem Value="True">发布</asp:ListItem>
			</asp:RadioButtonList>
			<asp:RequiredFieldValidator ID="RFVCtrlIsEffective" runat="server" ControlToValidate="CtrlIsEffective"
				ErrorMessage="字段 [IsEffective] 不允许为空。">*</asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr>
		<td class="FieldBox">
			推荐状态
		</td>
		<td class="ValueBox">
			<asp:RadioButtonList ID="CtrIsRecommend" runat="server" RepeatDirection="Horizontal">
				<asp:ListItem Value="False">不推荐</asp:ListItem>
				<asp:ListItem Value="True">推荐</asp:ListItem>
			</asp:RadioButtonList>
			<asp:RequiredFieldValidator ID="RFVCtrIsRecommend" runat="server" ControlToValidate="CtrIsRecommend"
				ErrorMessage="字段 [IsRecommend] 不允许为空。">*</asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr>
		<td class="FieldBox">
			所属频道
		</td>
		<td class="ValueBox">
			<Hxctr:DicCheckBoxList ID="CBLChannelIds" ClassCode="<%# Hxsoft.AppV1.Module.Common.DicClassName_ChannelCategory %>"
				RepeatDirection="Horizontal" RepeatColumns="4" RepeatLayout="Flow" runat="server"
				SiteId="<%#　SiteId %>" />
		</td>
	</tr>
	<tr>
		<td class="FieldBox">
			所属区域
		</td>
		<td class="ValueBox">
			<asp:CheckBoxList ID="CBLRegionIds" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"
				RepeatLayout="Flow" OnDataBinding="CBLRegionIds_DataBinding" OnDataBound="CBLRegionIds_DataBound">
			</asp:CheckBoxList>
		</td>
	</tr>
</table>
